/*
 * Created on May 14, 2005
 *
 */
package org.mushroomdb.catalog;

/**
 * @author Matias
 *
 */
public class CatalogHelper {
	public final static String SYS_TABLE_PREFIX = "SYS"; //$NON-NLS-1$
	
	/** Tabla SYS_SYS_TABLE */
	public final static String SYS_SYS_TABLE_NAME = "SYS_SYS_TABLE"; //$NON-NLS-1$
	public final static String SST_ID_COLUMN_NAME = "ID"; //$NON-NLS-1$
	public final static String SST_NAME_COLUMN_NAME = "NAME"; //$NON-NLS-1$
	public final static String SST_PAGE_COLUMN_NAME = "PAGE"; //$NON-NLS-1$
	public final static String SST_ID_NEXT_COLUMN_NAME = "ID_NEXT"; //$NON-NLS-1$
	
	/** Tabla SYS_TABLE */
	public final static String SYS_TABLE_TABLE_NAME = "SYS_TABLE"; //$NON-NLS-1$
	public final static String ST_ID_COLUMN_NAME = "ID"; //$NON-NLS-1$
	public final static String ST_NAME_COLUMN_NAME = "NAME"; //$NON-NLS-1$
	public final static String ST_REGISTER_COUNT_COLUMN_NAME = "REGISTER_COUNT"; //$NON-NLS-1$
	public final static String ST_PAGE_COUNT_COLUMN_NAME = "PAGE_COUNT"; //$NON-NLS-1$
	
	/** Tabla SYS_COLUMN */
	public final static String SYS_COLUMN_TABLE_NAME = "SYS_COLUMN"; //$NON-NLS-1$
	public final static String SC_ID_COLUMN_NAME = "ID"; //$NON-NLS-1$
	public final static String SC_NAME_COLUMN_NAME = "NAME"; //$NON-NLS-1$
	public final static String SC_TYPE_COLUMN_NAME = "TYPE"; //$NON-NLS-1$
	public final static String SC_SIZE_COLUMN_NAME = "SIZE"; //$NON-NLS-1$
	public final static String SC_IS_PK_COLUMN_NAME = "IS_PK"; //$NON-NLS-1$
	public final static String SC_IS_FK_COLUMN_NAME = "IS_FK"; //$NON-NLS-1$
	public final static String SC_IS_UNIQUE_COLUMN_NAME = "IS_UNIQUE"; //$NON-NLS-1$
	public final static String SC_ALLOW_NULLS_COLUMN_NAME = "ALLOW_NULLS"; //$NON-NLS-1$
	public final static String SC_ID_TABLE_COLUMN_NAME = "ID_TABLE"; //$NON-NLS-1$
	public final static String SC_SORT_COLUMN_NAME = "SORT"; //$NON-NLS-1$
	
	/** Tabla SYS_PAGE */
	public final static String SYS_PAGE_TABLE_NAME = "SYS_PAGE"; //$NON-NLS-1$
	public final static String SP_ID_COLUMN_NAME = "ID"; //$NON-NLS-1$
	public final static String SP_PAGE_NUMBER_COLUMN_NAME = "PAGE_NUMBER"; //$NON-NLS-1$
	public final static String SP_ID_TABLE_COLUMN_NAME = "ID_TABLE"; //$NON-NLS-1$
	public final static String SP_ID_NEXT_COLUMN_NAME = "ID_NEXT"; //$NON-NLS-1$
	public final static String SP_NUMBER_NEXT_COLUMN_NAME = "NUMBER_NEXT"; //$NON-NLS-1$
	
	/** Tabla SYS_PAGE_MAPPING */
	public final static String SYS_PAGE_MAPPING_TABLE_NAME = "SYS_PAGE_MAPPING"; //$NON-NLS-1$
	public final static String SPM_ID_COLUMN_NAME = "ID"; //$NON-NLS-1$
	public final static String SPM_LOGICAL_PAGE_COLUMN_NAME = "LOGICAL_PAGE"; //$NON-NLS-1$
	public final static String SPM_PHYSICAL_PAGE_COLUMN_NAME = "PHYSICAL_PAGE"; //$NON-NLS-1$
	
}
